package com.dh.project.mapper;

import com.baomidou.mybatisplus.mapper.AutoMapper;
import com.dh.project.model.OrderServiceProject;
import com.dh.project.view.OrderServiceProjectView;

import java.util.List;
import java.util.Map;

public interface OrderServiceProjectMapper extends AutoMapper<OrderServiceProject>{
    int deleteByPrimaryKey(Integer id);

    int insert(OrderServiceProject record);

    int insertSelective(OrderServiceProject record);

    OrderServiceProject selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OrderServiceProject record);

    int updateByPrimaryKey(OrderServiceProject record);

    OrderServiceProject selectByOrderId(Map map);

    List<OrderServiceProjectView> selectServiceProjectList(Map map);
}